import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:kasax_demos2/testhelper/gankio/gank_provider.dart';

class MzAllPage extends StatefulWidget {
  final int index;
  const MzAllPage(this.index,{Key? key}) : super(key: key);

  @override
  _MzAllPageState createState() => _MzAllPageState();
}

class _MzAllPageState extends State<MzAllPage> {
  @override
  void initState() {
    super.initState();

    GankIoApiProvider.getInstance().featCategories("GanHuo").then((value) {
      log("result: $value");
    });
  }
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Center(
        child: Text("mz: ${widget.index}"),
      ),
    );
  }
}
